package com.guge.sports.service;

import com.guge.sports.entity.Dto.Option;
import com.guge.sports.entity.Dto.SelectionCourseHappeningDto;
import com.guge.sports.entity.Dto.StCourseDto;
import com.guge.sports.entity.StCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guge.sports.toolPackage.utils.MyPager;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-09-14
 */
public interface StCourseService {

    MyPager selectCoursePage(MyPager<StCourseDto> myPager, StCourseDto courseDto);

    void addCourse(StCourse course);

    MyPager selectionCourse(MyPager<StCourseDto> myPager, StCourseDto stCourseDto);

    List<SelectionCourseHappeningDto> selectionCourseHappening();

    List<Option> getTeacherName();

    void courseTakeDown(Long id);

    void deleteCourse(Long id);

    StCourseDto getCourseById(Long id);


}
